// bookmark.js
// 修改书签交互功能
function setupBookmarks() {
    const photos = document.querySelectorAll('.bookmark-photo');

    photos.forEach(photo => {
        photo.addEventListener('click', () => {
            // 点击动画
            photo.style.transform = 'scale(0.95)';
            setTimeout(() => {
                photo.style.transform = '';
            }, 200);

            // 这里可以添加实际的书签功能
            console.log('打开书签:', photo.querySelector('img').alt);
        });
    });
}

window.setupBookmarks = setupBookmarks; 